package com.ygq.train.business.service;

import com.ygq.train.business.domain.TrainSeat;
import com.ygq.train.common.resp.PageResp;
import com.ygq.train.business.req.TrainSeatQueryReq;
import com.ygq.train.business.req.TrainSeatSaveReq;
import com.ygq.train.business.resp.TrainSeatQueryResp;
import java.util.List;


public interface TrainSeatService {

     void save(TrainSeatSaveReq req);

     PageResp<TrainSeatQueryResp> queryList(TrainSeatQueryReq req);

     void delete(Long id);

     List<TrainSeatQueryResp> queryMine();

     void genTrainSeat(String trainCode);
     List<TrainSeat> selectByTrainCode(String trainCode);

}